home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Collection of Tools & Utilities
/
Collection of Tools and Utilities.iso
/
dskut
/
rffsrt23.zip
/
RFFSORT.DOC
< prev
next >
Wrap
Text File
|
1992-03-05
|
7KB
|
167 lines
╔══════════════════════════════════════════════════════════════════════════╗
║ ║
║ ISoft D&M ║
║ POB. 5517 ║
║ Coralville IA 52241 ║
║ U.S.A ║
║ ║
╚══════════════════════════════════════════════════════════════════════════╝
*******************************************************************************
* RFFSORT *
* Ron's Flexible Fast Sort program, RFFSORT V2.3, Mar 1992. *
* Last Update : Mar. 05, 1992. *
*******************************************************************************
File List
---------
This package contains the following files :
RFFSORT.EXE - RFFSORT program executable.
RFFSORT.DOC - This file.
RFFSORT.REG - Registration File.
PROGRAMS.TXT - ISoft D&M shareware products description.
Why Register
------------
RFFSORT is a shareware product, if you find this product valuable,
please register it. This section describes the reasones you should register.
By registering you will receive a printed manual, with many examples, a
diskette with the latest RFFSORT version, and the complete source code for
RFFSORT, and - you will help us to create the next version of RPTP - that
will include even more features then the features that are currently
available!, we might even add YOUR enhancment requests!
What's New
----------
Version 2.3 added the /? help page parameter. From this version RFFSORT
is distributed by ISoft D&M, P.O.B 5517, Coralville IA 52241, U.S.A.
Version 2.2 fixes a bug created by TP6.0 that does not create the stack
frame as needed when compiled with stack check off {$S-}. When RFFSORT
was compiled with {$S+} every thing works as expected. (Do not ask me
why the problem occurs, It is just there!).
Version 2.1 Added even better performance by optimizing the compare
routine. On my 386-33 a 12K text file was sorted in 1.3 sec., VS 1.6 sec.
in version 2.0. (This is a 23% improvment!). The 168K fixed record file
was sorted in 7.5 sec. VS 9 sec. in V2.0.
Version 2.0 uses a new combined internal and external sort algorithm
in order to gain speed. Sorting a text file of 36K on a 33-MHZ 386 took
36 Sec. with V1.2, VS. 9 Sec. with V2.0. A fixed record size file sort, for
a file of 168K took 98 Sec. with V1.2, VS. 9 Sec. with V2.0 !. We can
assume that files that will fit in memory (up to 500K usually) will be
sorted in about 9-10 Sec., and only files that are larger then memory will
take more time. even this time is smaller then V1.2, because of the smaller
number of passes RFFSORT performs. Please notice - all of these tests were
done with the work directory set to the current hard disk drive, it is
recomended to set the work directory to the ram disk, if available in order
to minimize sort time. I have ran the text file sort again on a 12-MHZ 286,
with the workind drive set to a ram drive, and received the following results :
V1.2 - 27 Sec. VS. 15 Sec. for V2.0.
Version 1.2 fixed a bug with several ram drives that gave an invalid
media error, added count of number of records processed.
With version 1.1 text files can be sorted using the -t switch, text files
are sorted with a maximum sort line size of the /Lxxxxx parameter.
Introduction
------------
RFFSORT is a sort utility for files with fixed sized records, and text files,
RFFSORT can sort HUGE files, provided it has enough disk space to hold the
temporary files. RFFSORT allows the user to sort the files using up to 10 sort
fields, that can be in acsending, and descending order.
Usage
-----
At the command line type RFFSORT and press Enter to receive a help screen,
this screen lists the programs command line format, and options.
RFFSORT V2.3, ISoft D&M, P.O.B 5517, CORALVILLE IA 52241, U.S.A
Usage ..
RFFSORT [e-options] input-file [e-options] [output-file] [e-options]
E-Options ..
@optfile - file of options
options - options displayed below
Options ..
/Lxxxxx - xxxxx characters per record
/Sf,sssss - Start of f''th field at sssss
/Ef,eeeee - End of f''th field at eeeee
/Of,d - Order of f''th field is d, where d is A or D
/Dpath - Path of working directory
/T - File is a text file, with at most /Lxxxxx characters
/? - Display help page
Notice - in option files, each option is at 1 line.
- f Values are 0 .. 9
- sssss, eeeee in 0..65535
- d is A = Acsending, D = descending
(*) Points to notice :
A. If you sort a file written with fixed length text strings,
terminated with the standard dos CR/LF remember to add 2
to the record length you specify to RFFSORT.
(e.i. - the file looks like ..
RECORD1...SOMEDATA...ENDOFRECORD1
RECORD2...SOMEDATA...ENDOFRECORD2
RECORD3...SOMEDATA...ENDOFRECORD3
...
The record length should be 33 + 2 = 35 )
B. RFFSORT uses a combination of internal modified quick sort, and
external merge sort algorithm that works on the storage
device, remeber that if your file occupies X bytes on the
storage device, RFFSORT will need 2X free bytes on the work
directory to sort your file !
Warranty
--------
There is no warranty what so ever, The program is supplied as is,
The distributer (ISoft D&M), or the author (Loewy Ron), are not,
and will not be responsible for any damages, lost profits,
or inconveniences caused by the use, or inability to use this program.
The use of the program is at your own risk.
By using (or attempting to use) the program you agree to this.
General
-------
RFFSORT is distributed by ISoft D&M, P.O.B. 5517 CORALVILLE IA 52241, U.S.A.
RFFSORT is (c) copyrighted by Loewy Ron, 1991, 92.
RFFSORT is a shareware program, please register your copy.
To register your copy of RFFSORT please refer to the supplied
RFFSORT.REG file.
Other programs distributed by ISoft D&M are described in the supplied
PROGRAMS.TXT file.
Contact
-------
Please contact :
ISoft D&M,
P.O.B 5517
Coralville IA 52241,
U.S.A
Credits
-------
RFFSORT was written using Turbo-Pascal V6.0,
a copyright of Borland International.